import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from './util/axios'

Vue.config.productionTip = false,
Vue.prototype.$axios = axios

Vue.filter('initDate',function (val) {
    if(val){
        var date = val.replace('T',' ')
        date = date.substr(0,date.length-14)
        return date;
    }else{
        return
    }
})

new Vue({
  router,
  store,
  axios,
  render: h => h(App)
}).$mount('#app')
